﻿using My.Application.Contracts.Issues.Events;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.DependencyInjection;
using Volo.Abp.EventBus;

namespace My.Application.Issues
{
    public class IssueAssignUserEvent : ILocalEventHandler<IssueAssignEvent>, ITransientDependency
    {
        public Task HandleEventAsync(IssueAssignEvent eventData)
        {
            Console.WriteLine($"{eventData.UserId}绑定到了问题{eventData.IssueId}上");
            return Task.CompletedTask;
        }
    }
}
